package com.huawei.codearts.config.version;

import org.springframework.web.bind.annotation.Mapping;

import java.lang.annotation.*;

@Documented
@Target({ElementType.TYPE,ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Mapping
public @interface ApiVersion {
    /**
     * 版本号
     * @return
     */
    int value() default 1;
}
